#ifndef LOGIN_H
#define LOGIN_H
 #include <QMouseEvent>
#include <QWidget>
#include "qdebug.h"
#include "user.h"
namespace Ui {
class login;
}

class login : public QWidget
{
    Q_OBJECT

public:
    explicit login(QWidget *parent = nullptr);
    ~login();

protected:
    void mouseMoveEvent(QMouseEvent *event);
    void mousePressEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);

private slots:
    void on_close_button_clicked();

    void on_register_button_clicked();

    void on_sign_button_clicked();

private:
    Ui::login *ui;
    QPoint mousePoint;
    bool mouse_press;
};

#endif // LOGIN_H
